package la.bbs558.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import la.bbs558.entity.BbsPost;
import la.bbs558.entity.UserOption;
import la.bbs558.entity.vo.IndexCollectVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户收藏表(UserOption)表数据库访问层
 *
 * @author weihanmin
 * @since 2023-12-17 21:00:59
 */
public interface UserOptionDao extends BaseMapper<UserOption> {

    List<IndexCollectVO> collectBoardList(@Param("userId") long userId);
    List<BbsPost> userCollectPosts(@Param("userId") long userId);
}

